//引入样式重置
@import "reset";
@import "banner";//引入轮播图样式
.right-bar {
  .right-blanck {
    height: 10%;
    width: 30px;
  }
  position: fixed;
  z-index: 999;
  top: 0;
  right: 0;
  height: 100%;
  width: 30px;
  color: #fff;
  background-color: #202020;
  font-size: 12px;
  .sidebar {
    padding: 10px 4px 0;
    text-align: center;
    a {
      display: block;
      color: #fff;
      text-align: center;
      padding-bottom: 10px;
      border-bottom: 1px solid black;
      text-decoration: none;
    }
  }
  .goTop {
    position: absolute;
    bottom: 10px;
    width: 30px;
    .back2top {
      padding: 0 4px;
      text-align: center;
      a {
        border-top: 1px solid rgba(221, 221, 221, 0.6);
        padding-top: 4px;
        i {
          display: block;
          width: 22px;
          height: 30px;
          background-image: url(https://s10.mogucdn.com/p2/161011/upload_8dhi7ll8egg1ee9i12a3fc1lg93b9_609x784.png);
          background-repeat: no-repeat;
          background-position: -270px -279px;
        }
      }
    }
  }
}
//引入头部样式
@import "header";


// 内容部分
.content {
  background-color: #fbe27e;
  //大背景图
  .content-area {
    width: 960px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    .content-wrap {
      height: 316px;
      overflow: visible;
      img {
        width: auto;
        position: absolute;
        top: 0;
        margin-left: -960px;
        left: 50%;
      }
    }
    //分类
    .content-sort {
      font-size: 18px;
      height: 110px;
      display: grid;
      grid-template-columns: 239px 239px 239px 240px;
      grid-template-rows: 54px 55px;
      grid-row-gap: 1px;
      grid-column-gap: 1px;
      background-color: #fff;
      color: #fff;
      text-align: center;
      line-height: 55px;
      div {
        background-color: rgb(255, 100, 148);
      }
      .sort-atv {
        background-color: #fff;
        color: rgb(255, 96, 146);
      }
    }
    //上屏展示
    .content-show {
      display: grid;
      grid-row-gap: 20px;
      grid-column-gap: 13px;
      grid-template-columns: 230px 230px 230px 231px;
      //grid 布局
      div {
        background-color: #fff;
        height: 412px;
        position: relative;
        // 图片
        .aimg {
          display: block;
          margin: 5px 5px 0;
          height: 286px;
          overflow: hidden;
          img {
            width: 100%;
            border: 0;
            vertical-align: middle;
          }
        }
        //图片下的文字介绍
        p {
          margin-top: 7px;
          margin-bottom: 3px;
          display: block;
          font-size: 16px;
          white-space: nowrap;
          text-overflow: ellipsis;
          padding: 0 7px;
          overflow: hidden;
          width: 220px;
          color: #555;
        }
        .aprice {
          margin-top: 0;
          padding-left: 0;
          overflow: hidden;
          display: block;
          height: 30px;
          .price-wrap {
            background-image: none;
            color: #444;
            display: inline-block;
            margin: 0 auto;
            font-size: 12px;
            line-height: 30px;
            height: 30px;
            width: 214px;
            padding: 0px 7px;
            .price-fl {
              float: left;
            }
            .pricelogo {
              color: #ff3377;
              border: 1px solid #ff3377;
              display: block;
              margin-top: 4px;
              border-radius: 5px;
              line-height: 18px;
              height: 18px;
              min-width: 44px;
              text-align: center;
            }
            .priceValue {
              font-size: 22px;
              color: #555;
            }
            .priceDel {
              font-size: 12px;
              color: #999;
              margin: 2px 0 0 12px;
            }
          }
        }
        .buy-btn {
          background: #ff3377;
          display: block;
          position: absolute;
          color: #fff;
          bottom: 15px;
          margin-left: 10px;
          text-align: center;
          font-size: 16px;
          height: 36px;
          width: 210px;
          line-height: 36px;
          span {
            display: inline-block;
            width: 55%;
            height: 36px;
            line-height: 36px;
            font-size: 16px;
            vertical-align: top;
            background: url(http://s17.mogucdn.com/p1/150910/upload_iezdqojumyyggzbygmzdambqmmyde_12x21.png)
              no-repeat right center;
            background-size: 8px 14px;
          }
        }
      }
    }
  }
}
//尾部
@import "footer";
